from django.db import models

# Create your models here.
class Student(models.Model):
    name=models.CharField(max_length=10,null=False)
    classname=models.CharField(max_length=15,null=False)
    cardid=models.CharField(max_length=18)
    phone=models.CharField(max_length=11,null=False)



class Question_bank(models.Model):
    question_type=models.CharField(max_length=10,null=False)#题目类型
    headline=models.CharField(max_length=10,null=False)#标题
    describe=models.CharField(max_length=10)#描述
    title_tag=models.CharField(max_length=255)#题目标签
    question_steam=models.CharField(max_length=255)#题干
    reference_version=models.CharField(max_length=255)#参考答案
    difficulty_level=models.CharField(max_length=255)#难易度